package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.IdentityUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.MobileUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.create.GzryVolunteerCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.GzryVolunteerQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.GzryVolunteerResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.GzryVolunteerUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.GzryVolunteerEntity;

public interface GzryVolunteerService extends IService<GzryVolunteerEntity> {

    PageInfo<GzryVolunteerResultDTO> getPageList(Params page, GzryVolunteerQueryDTO dto);

    GzryVolunteerResultDTO getById(Long id);

    Boolean create(GzryVolunteerCreateDTO dto);

    Boolean update(GzryVolunteerUpdateDTO dto);

    Boolean checkUniqueByIdentity(IdentityUniqueCheckDTO dto);

    Boolean checkUniqueByMobile(MobileUniqueCheckDTO dto);
}